﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace BTN04.DTO
{
    public class NguoiDungDTO
    {
        private int _maNguoiDung;

        public int MaNguoiDung
        {
            get { return _maNguoiDung; }
            set { _maNguoiDung = value; }
        }
        private string _tenDangNhap;

        public string TenDangNhap
        {
            get { return _tenDangNhap; }
            set { _tenDangNhap = value; }
        }
        private string _matKhau;

        public string MatKhau
        {
            get { return _matKhau; }
            set { _matKhau = value; }
        }
        private string _hoTen;

        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }
        private string _email;

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _diaChi;

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private DateTime _ngaySinh;

        public DateTime NgaySinh
        {
            get { return _ngaySinh; }
            set { _ngaySinh = value; }
        }
        private int _maLoaiNguoiDung;

        public int MaLoaiNguoiDung
        {
            get { return _maLoaiNguoiDung; }
            set { _maLoaiNguoiDung = value; }
        }
        private int _maBanNick;

        public int MaBanNick
        {
            get { return _maBanNick; }
            set { _maBanNick = value; }
        }
        private int _soLanGoSaiMatKhau;

        public int SoLanGoSaiMatKhau
        {
            get { return _soLanGoSaiMatKhau; }
            set { _soLanGoSaiMatKhau = value; }
        }
        private string _gioiTinh;

        public string GioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }
        private string _dienThoai;

        public string DienThoai
        {
            get { return _dienThoai; }
            set { _dienThoai = value; }
        }

        GioHang _cart;

        public GioHang Cart
        {
            get { return _cart; }
            set { _cart = value; }
        }

        public void InitCart()
        {
            _cart = new GioHang();
        }
      
    }
}
